

var path = require("path");

console.log("normalization: " + path.normalize('/javapoint/node'));
console.log("resolve: " + path.resolve('path.js'));
console.log("file ext:" + path.extname('path.js'));

